#pragma once

#include "qlib/geo/label.h"

namespace qlib {

enum struct FontType {
  Gdstk = 0,
  FreeType,
};
Vec2dArray QLIB_API get_text(std::string text, Vec2d baseline, double size, double angle, Anchor anchor);
std::vector<Vec2dArray> QLIB_API getStrPoints(std::string text, Anchor anchor, Vec2d pos, double size, double rotation, FontType type);

}  // namespace qlib